feature(react-utilities): support for data-* attributes on slots#31754
Draft
bsunderhus wants to merge 8 commits intomicrosoft:masterfrom
Draft
feature(react-utilities): support for data-* attributes on slots#31754bsunderhus wants to merge 8 commits intomicrosoft:masterfrom
bsunderhus wants to merge 8 commits intomicrosoft:masterfrom
Conversation
Collaborator
Perf Analysis (
|
| Scenario | Render type | Master Ticks | PR Ticks | Iterations | Status |
|---|---|---|---|---|---|
| FluentProviderWithTheme | mount | 85 | 87 | 10 | Possible regression |
All results
| Scenario | Render type | Master Ticks | PR Ticks | Iterations | Status |
|---|---|---|---|---|---|
| Avatar | mount | 631 | 658 | 5000 | |
| Button | mount | 301 | 305 | 5000 | |
| Field | mount | 1114 | 1134 | 5000 | |
| FluentProvider | mount | 727 | 702 | 5000 | |
| FluentProviderWithTheme | mount | 85 | 87 | 10 | Possible regression |
| FluentProviderWithTheme | virtual-rerender | 40 | 34 | 10 | |
| FluentProviderWithTheme | virtual-rerender-with-unmount | 79 | 73 | 10 | |
| MakeStyles | mount | 863 | 855 | 50000 | |
| Persona | mount | 1772 | 1675 | 5000 | |
| SpinButton | mount | 1398 | 1443 | 5000 | |
| SwatchPicker | mount | 1643 | 1673 | 5000 |
Collaborator
📊 Bundle size reportUnchanged fixtures
|
fabricteam
reviewed
Jun 18, 2024
| @@ -0,0 +1,7 @@ | |||
| { | |||
Collaborator
There was a problem hiding this comment.
🕵 fluentuiv9 Open the Visual Regressions report to inspect the affected screenshots
Avatar Converged 2 screenshots
| Image Name | Diff(in Pixels) | Image Type |
|---|---|---|
| Avatar Converged.basic - Dark Mode.normal.chromium.png | 0 | Added |
| Avatar Converged.basic.normal.chromium.png | 0 | Added |
Card Converged - Interactive 9 screenshots
| Image Name | Diff(in Pixels) | Image Type |
|---|---|---|
| Card Converged - Interactive.appearance interactive - Subtle - High Contrast.click.chromium.png | 0 | Added |
| Card Converged - Interactive.appearance interactive - Subtle - High Contrast.hover.chromium.png | 0 | Added |
| Card Converged - Interactive.appearance interactive - Subtle - High Contrast.normal.chromium.png | 0 | Added |
| Card Converged - Interactive.appearance interactive - Filled - Dark Mode.click.chromium.png | 0 | Removed |
| Card Converged - Interactive.appearance interactive - Filled - Dark Mode.hover.chromium.png | 0 | Removed |
| Card Converged - Interactive.appearance interactive - Filled - Dark Mode.normal.chromium.png | 0 | Removed |
| Card Converged - Interactive.appearance interactive - Filled - High Contrast.click.chromium.png | 0 | Removed |
| Card Converged - Interactive.appearance interactive - Filled - High Contrast.hover.chromium.png | 0 | Removed |
| Card Converged - Interactive.appearance interactive - Filled - High Contrast.normal.chromium.png | 0 | Removed |
SwatchPicker Converged 1 screenshots
| Image Name | Diff(in Pixels) | Image Type |
|---|---|---|
| SwatchPicker Converged.default.default.chromium.png | 0 | Added |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Previous Behavior
New Behavior
Pick(DistributivePick) (as suggested here [Bug]: slot cannot be passed a data-* attribute #27302 (comment)) to ensure that we reduce the amount of keys being evaluated while mutating types, that way we can avoid TS errorTS2590(Expression produces a union type that is too complex to represent)Related Issue(s)